package com.cjx.demo2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 *@Description demo2启动类
 *@Verson v1.0.0
 *@Author cjunxian
 *@Date
 */
@ComponentScan(basePackages = {"com.cjx"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.cjx.**.feign")
public class Demo2ServiceBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(Demo2ServiceBootstrap.class);
    }
}
